package com.tencent.Mapper;

import com.tencent.entity.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Repository
public interface LoginMapper {


    @Select("select * from t_user where username=#{username}")
    User findByUsername(String username);
}
